package com.stein.mentalarithmetic;

import java.util.Random;

import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.scenes.scene2d.ui.Window;

public abstract class BaseTest {
	 
	String name="";
	protected Window window;
	protected Skin  skin;
	public BaseTest(Skin skin) {
		this.skin = skin;
		setName();
	}
	public Window init(Window window){
		this.window=window;
		window.clearChildren();
		//window.clear(); 
		layout();
		return window;

	}

	protected abstract void layout();
	
	protected abstract void setName();
	@Override
	public String toString() {
		return name;
	}
}
